<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html>
<head>
    <%-- 页头 --%>
    <%@include file="common/head.jsp" %>

</head>
<body>
<div class="wrapper">

    <%-- 导航 --%>
    <%@include file="common/header.jsp" %>

    <%-- 侧边栏 --%>
    <%@include file="common/sidebar.jsp" %>

    <div class="main-panel">
        <div class="content">
            <div class="container-fluid">
                <div class="row">
                    <div class="col-md-12">
                        <div class="card">
                            <div class="card-header">
                                <h4 class="card-title">最新教程</h4>
                            </div>
                            <div class="card-body">
                                <div class="row">
                                    <c:forEach items="${articleVoList.get(status.index).articleList}" var="article">
                                        <div class="col-md-3">
                                            <div class="card card-stats">
                                                <div class="card-body card-article"
                                                     onclick="window.location.href='/article/detail/${article.articleId}'">
                                                    <div class="row">
                                                        <div class="col-4">
                                                            <div class="icon-big text-center">
                                                                <i class="la ${article.articleIcon}"></i>
                                                            </div>
                                                        </div>
                                                        <div class="col-8 d-flex align-items-center">
                                                            <div class="numbers">
                                                                <h4 class="card-title">${article.articleTitle}</h4>
                                                                <p class="card-category">${article.articleIntroduce}</p>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </c:forEach>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <%-- 页脚 --%>
    <%@include file="common/footer.jsp" %>

</div>

</body>

<%-- js --%>
<%@include file="common/script.jsp" %>
</html>